<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="utf-8">
    <title>Amind快速入门</title>
    <meta name="description" content="amind快速入门">
    <meta name="keywords" content="amind">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="icon" type="image/png" href="assets/favicon.ico">
    <!-- 引用amind client组件接口 -->
    <script src="https://www.anygraphanywhere.com/test_web/automap/dist/amind.client.js"></script>
</head>

<body style="padding: 20px;">
    <div id="container" style="width: 980px; height: 720px; border:solid 1px #CCC">
    </div>
</body>

<script>
    // 页面加载完成后的事件
    document.addEventListener('DOMContentLoaded', function () {
        // amind初始化
        amind.init("container", { "appId": "AAAAA-BBBBB-CCCCC-DDDDD", "access_token": "qwezxzsddew" });

        // amind初始化后创建思维导图
        amind.on("ready", function () {
            amind.createMind();
        });
    });
</script>

</html>
